public class text01 {
    /*普通类*/
    public class Person {
        public void eat(){
            System.out.println("吃...");
        }
        public void say(){
            System.out.println("说....");
        }
    }

    /**
     * 创建Person对象---传统方式
     * */
    @Test
    public void test01(){
        Person p1=new Person();
        p1.eat();
        p1.say();
    }


}
